#ifndef _ERP_TANK_STORAGE_11_MODEL_H
#define _ERP_TANK_STORAGE_11_MODEL_H
#include "atomic.h"

class ERP_tank_storage_11_model : public Atomic
{
public:
	ERP_tank_storage_11_model( const string & name = "ERP_tank_storage_11_model" );
	inline string className() const
	{
		return "ERP_tank_storage_11_model" ;
	}

protected:
	Model &initFunction();
	Model &externalFunction(const ExternalMessage &);
	Model &internalFunction(const InternalMessage &);
	Model &outputFunction(const InternalMessage &);

private:
	const Port &ERP_tank_11_stream_GB90_out;
	float ERP_tank_11_stream_GB90_out_flowrate;
	const Port &ERP_tank_11_stream_GB90_1;
	float ERP_tank_11_stream_GB90_1_flowrate;

	Port &ERP_tank_11_stream_GB90_inv;
	float ERP_tank_11_stream_GB90_inv_val;
	Port &ERP_tank_11_stream_GB90_2;
	float ERP_tank_11_stream_GB90_2_flowrate;



	Time delay;
	float total_flowrate;
	int count;
};

#endif
